package com.cgwx.testservice.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户文件
 * </p>
 *
 * @author GaoWei
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Userfile对象", description="用户文件")
public class Userfile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户文件主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "文件图标")
    private String fileIcon;

    @ApiModelProperty(value = "文件描述")
    private String fileDescribe;

    @ApiModelProperty(value = "上传用户")
    private String uploadUser;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
